﻿using _2112A_2_MES._chubowen;
using _2112A_2_MES._XiangHe;
using _2112A_2_MES.SuJiaHaos.ProductionPiickings;
using _2112A_2_MES.SuJiaHaos.WareHouse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Test.WangWeiHao;
using Volo.Abp.Application.Services;

namespace _2112A_2_MES.SuJiaHaos
{
    /// <summary>
    /// 生产领料服务接口
    /// </summary>
    public interface IProductionPiickingService : IApplicationService
    {
        /// <summary>
        /// 获取生产领料信息
        /// </summary>
        /// <returns>返回生产领料信息的实体</returns>
        Task<ReturnSelect<object>> GetProductionPiickingList(int pageSize, int pageIndex);

        /// <summary>
        /// 生产领料信息添加
        /// </summary>
        /// <param name="input">生产领料实体</param>
        /// <returns></returns>
        Task<int> GetCreateProductionPiicking(CreateProductionPiickingDTO input);

        /// <summary>
        /// 生产领料信息删除
        /// </summary>
        /// <param name="id">条件编号</param>
        /// <returns>返回受影响行数</returns>
        Task<int> DeleteProductionPiicking(int id);

        /// <summary>
        /// 生产领料反填
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ProductionPiicking> GetProductionPiicking(int id);

        /// <summary>
        /// 生产领料信息修改
        /// </summary>
        /// <param name="input">生产领料实体</param>
        /// <returns>返回受影响行数</returns>
        Task<int> UpdateProductionPiicking(CreateProductionPiickingDTO input);

    }
}
